package Entity;

import java.io.Serializable;
import java.util.Date;

public class Sale implements Serializable {
	
	private String id;
	private String name;
	private Date startDate;
	private Date endDate;
	private Product products;
	
	public Sale(){
		 id = null;
		 name= null;
		//startDate = null;
		 //endDate = null;
		 products = null;
	}
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Date getStartDate() {
		return startDate;
	}
	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}
	public Date getEndDate() {
		return endDate;
	}
	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}
	public Product getProducts() {
		return products;
	}
	public void setProducts(Product products) {
		this.products = products;
	}

	public void setProduct(int i, Product product) {
	this.products = product;
		
	}

}
